package com.uvlab.sitespot.service.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * Created by Administrator on 2016/7/4 0004.
 */
public class JxUser {

    private String id;
    private String code;
    private String phone;
    private String email;
    private String password;
    private int objectstate;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date expireon;
    private String securityquestions;
    private String securityanswers;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date crtdate;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date upddate;
    private String crtuser;
    private String upduser;


    public JxUser()
    {

    }


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getObjectstate() {
        return objectstate;
    }

    public void setObjectstate(int objectstate) {
        this.objectstate = objectstate;
    }

    public Date getExpireon() {
        return expireon;
    }

    public void setExpireon(Date expireon) {
        this.expireon = expireon;
    }

    public String getSecurityquestions() {
        return securityquestions;
    }

    public void setSecurityquestions(String securityquestions) {
        this.securityquestions = securityquestions;
    }

    public String getSecurityanswers() {
        return securityanswers;
    }

    public void setSecurityanswers(String securityanswers) {
        this.securityanswers = securityanswers;
    }

    public Date getCrtdate() {
        return crtdate;
    }

    public void setCrtdate(Date crtdate) {
        this.crtdate = crtdate;
    }

    public Date getUpddate() {
        return upddate;
    }

    public void setUpddate(Date upddate) {
        this.upddate = upddate;
    }

    public String getCrtuser() {
        return crtuser;
    }

    public void setCrtuser(String crtuser) {
        this.crtuser = crtuser;
    }

    public String getUpduser() {
        return upduser;
    }

    public void setUpduser(String upduser) {
        this.upduser = upduser;
    }
}

